package com.yunhe.java.Day09;

/**
 * Created by Administrator on 2017/8/2 0002.
 */
public class integer {
    public static void main(String[] args) {
        String str="123";
       int a= Integer.parseInt(str);
        System.out.println(a);
        int a1=Integer.valueOf(str);
        System.out.println(a1);
    }
}
